//package net.canway.devops.keywordmanager.dao
//
//import net.canway.devops.keywordmanager.pojo.dao.OperationLogDetailsDaoInfo
//import net.canway.devops.model.keywordmanager.Tables
//import net.canway.devops.model.keywordmanager.tables.TOperationLogDetails
//import net.canway.devops.model.keywordmanager.tables.records.TOperationLogDetailsRecord
//import org.jooq.DSLContext
//import org.springframework.stereotype.Repository
//
//@Repository
//data class OperationLogDetailsDao(private val dslContext: DSLContext) :
//    DefaultDao<TOperationLogDetails, TOperationLogDetailsRecord, OperationLogDetailsDaoInfo>(
//        dslContext,
//        Tables.T_OPERATION_LOG_DETAILS
//    ) {
//    fun findByLogId(logId: String): List<OperationLogDetailsDaoInfo> {
//        return dslContext.selectFrom(Tables.T_OPERATION_LOG_DETAILS)
//            .where(Tables.T_OPERATION_LOG_DETAILS.LOG_ID.eq(logId)) // 添加 tenantId 过滤条件
//            .fetch()
//            .map { recordToEntity(it) }
//    }
//}
